﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Pantry.DataAccess;

namespace Pantry.Business
{
    public class CountryBus
    {
        private CountryDao _countryDao;
        public DataTable SelectAllCountry()
        {
            _countryDao = new CountryDao();
            return _countryDao.SelectAllCountry();
        }
        public int GetCountryIdByName(string countryName)
        {
            _countryDao = new CountryDao();
            return _countryDao.GetCountryIdByName(countryName);
        }
    }
}
